package com.bolehui.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bolehui.base.domain.entity.AbstractBaseEntity;
import com.bolehui.base.enums.GenderTypeEnum;
import com.bolehui.base.enums.HiringStatusTypeEnum;
import com.bolehui.base.handle.ListToVarcharTypeHandler;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author chendongjie     email:chendongjie@gz.iscas.ac.cn
 * @version 1.0
 * @ClassName resume
 * @Description
 * @createTime 2024/12/9 17:05
 * Copyright (C) 2021-2022 CASEEDER, All Rights Reserved.
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(autoResultMap = true)
public class ResumePO extends AbstractBaseEntity {

    /**
     * 用户id
     */
    private Long userId;
    /**
     * 个人信息
     */
    private String name; //姓名
    private String image; //头像
    private GenderTypeEnum gender; //性别
    private String identity; //身份
    private Long graduationYear; //毕业年份
    private String mobile; //手机号
    private String wechatCode; //微信号
    private Date birthday; //出生日期
    private String PlaceOfBirth; //所在地
    private String email; //邮箱
    /**
     * 求职状态
     */
    private HiringStatusTypeEnum hiringStatus; //求职状态
    /**
     * 个人优势
     */
    private String personalAdvantage; //个人优势
    /**
     * 所获荣誉
     */
    @TableField(typeHandler = ListToVarcharTypeHandler.class)
    private List<String> honorList; //所获荣誉
    /**
     * 资质证书
     */
    @TableField(typeHandler = ListToVarcharTypeHandler.class)
    private List<String> certificateList; //资质证书
    /**
     * 专业技能
     */
    private String professionalSkill; //专业技能
}
